function DirShowCtrl($scope, $rootScope, $http, $location, $element) {

    $scope.initData = function() {
        var url = "../services/index.json";
        $http.post(url).success(function (result) {
            alert(result.success);
            if (result.success) {
                $scope.dirList = result.dirList;
            } else {
                $.alert({ body: result.msg, height: 300 });
            }
            //setTimeout(function(){window.top.postMessage("resize","*");},16);
        });
    };
}